import org.springframework.context.annotation.Bean;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;

/**
 * @author ding
 * @date 2021/6/17 17:54
 */


public class SwaggerAutoConfigurator {

    @Bean
    public Docket docket(){
        return new Docket(DocumentationType.SWAGGER_12);
    }

}
